<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page TpLib.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/TpLib.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-classes">Classes</a>
			|													<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">TurboPhp 4 - TpLib   Version 4.1 Beta</p>
<p class="description"><p>Copyright (c) 2004 Least-Resistance Software</p><p>This source file is subject to the terms of the TurboPhp license,   that is bundled with this package in the file LICENSE.TXT, and is   available at through the world-wide-web at   http://www.turbophp.com/turbophp/license.txt</p></p>
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html">Source Code for this file</a></li>
			</ul>
		
			</div>
</div>
		
	<a name="sec-classes"></a>	
	<div class="info-box">
		<div class="info-box-title">Classes</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Classes</span>
			|																<a href="#sec-functions">Functions</a>
					</div>
		<div class="info-box-body">	
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpRequestVariable.html">TTpRequestVariable</a>
					</td>
					<td>
											Stores data parsed from a request variable.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpPage.html">TTpPage</a>
					</td>
					<td>
											Page object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpObj.html">TTpObj</a>
					</td>
					<td>
											Base class for TurboPhp objects.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpAnchor.html">TTpAnchor</a>
					</td>
					<td>
											Anchor tag (link)
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpLabel.html">TTpLabel</a>
					</td>
					<td>
											Text output.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpSilentObj.html">TTpSilentObj</a>
					</td>
					<td>
											TTpObj subclass that generates no output.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpListSource.html">TTpListSource</a>
					</td>
					<td>
											Generic source for list data.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpWebVariable.html">TTpWebVariable</a>
					</td>
					<td>
											Object which represents a web variable.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpFileList.html">TTpFileList</a>
					</td>
					<td>
											Collect information about items in a file system directory.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpForm.html">TTpForm</a>
					</td>
					<td>
											Container of input objects. Represents an HTML &lt;form&gt; object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpInput.html">TTpInput</a>
					</td>
					<td>
											An object that takes input. Typically an edit box.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpTextArea.html">TTpTextArea</a>
					</td>
					<td>
											Represents an HTML &lt;textarea&gt; object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpClickable.html">TTpClickable</a>
					</td>
					<td>
											Input object that also wants clicks.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpButton.html">TTpButton</a>
					</td>
					<td>
											Represents a button object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpImageButton.html">TTpImageButton</a>
					</td>
					<td>
											Represents a button object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpBooleanBox.html">TTpBooleanBox</a>
					</td>
					<td>
											Represents a control that can be checked.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpCheckBox.html">TTpCheckBox</a>
					</td>
					<td>
											Represents a checkbox object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpRadio.html">TTpRadio</a>
					</td>
					<td>
											Represents a radio-button object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpSelect.html">TTpSelect</a>
					</td>
					<td>
											Represents a select object (aka combo-box or menu).
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpRepeater.html">TTpRepeater</a>
					</td>
					<td>
											A container which can output itself multiple times.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpScroller.html">TTpScroller</a>
					</td>
					<td>
											A scrolling container.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpTable.html">TTpTable</a>
					</td>
					<td>
											A dynamic table.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpSheet.html">TTpSheet</a>
					</td>
					<td>
											A single sheet inside a <a href="../TurboPhpLib/TTpPageControl.html">TTpPageControl</a>.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpPageControl.html">TTpPageControl</a>
					</td>
					<td>
											A control that can display one of several overlapping blocks of content.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpModule.html">TTpModule</a>
					</td>
					<td>
											A page module.
										</td>
				</tr>
							</table>
		</div>
	</div>

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-classes">Classes</a>
				|															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionTpCleanInput" id="functionTpCleanInput"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">TpCleanInput</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html#a87">87</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clean characters from input text.</p>
<p class="description"><p>Returns left-most part of $inText that contains basic characters only.  Use this function to strip away odd characters or special bytes from user  input. More restrictive than <a href="../TurboPhpLib/_TpLib_php.html#functionTpFilterInput">TpFilterInput</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Cleaned string.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			TpCleanInput
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">&$inText</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$inText</span><span class="var-description">: String to be cleaned.</span>			</li>
				</ul>
		
	
</div>
<a name="functionTpFilterInput" id="functionTpFilterInput"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">TpFilterInput</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html#a61">61</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Filter characters from input text.</p>
<p class="description"><p>Returns left-most part of $inText that contains basic characters only.  Use this function to strip away odd characters or special bytes from user  input. Less restrictive than <a href="../TurboPhpLib/_TpLib_php.html#functionTpCleanInput">TpCleanInput</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Filtered string.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			TpFilterInput
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">&$inText</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$inText</span><span class="var-description">: String to be filtered.</span>			</li>
				</ul>
		
	
</div>
<a name="functionTpFilterRequest" id="functionTpFilterRequest"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">TpFilterRequest</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html#a73">73</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Filter characters from $_REQUEST values.</p>
<p class="description"><p>Performs <a href="../TurboPhpLib/_TpLib_php.html#functionTpFilterInput">TpFilterInput</a> on each member of $_REQUEST array.</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			TpFilterRequest
		</span>
				()
			</div>

		
	
</div>
<a name="functiontpIsDir" id="functiontpIsDir"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">tpIsDir</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html#a1554">1554</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Test if a path identifies a directory.</p>
	<ul class="tags">
				<li><span class="field">return:</span> True if input path is a directory.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolen</span>
		<span class="method-name">
			tpIsDir
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$inFilename</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$inFilename</span><span class="var-description">: Path to test.</span>			</li>
				</ul>
		
	
</div>
<a name="functionTpSafeArrayGet" id="functionTpSafeArrayGet"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">TpSafeArrayGet</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpLib.php.html#a45">45</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get array element without warnings if element doesn't exist.</p>
	<ul class="tags">
				<li><span class="field">return:</span> or '' if $inNeedle is not a key of  $inArray.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			TpSafeArrayGet
		</span>
					(<span class="var-type">$inNeedle</span>&nbsp;<span class="var-name">$inNeedle</span>, <span class="var-type">$inArray</span>&nbsp;<span class="var-name">&$inArray</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">$inNeedle</span>
				<span class="var-name">$inNeedle</span><span class="var-description">: Array key to search</span>			</li>
					<li>
				<span class="var-type">$inArray</span>
				<span class="var-name">&$inArray</span><span class="var-description">: Array to search</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Sun, 16 Jan 2005 21:18:22 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>